This is a problem related to SSL handshake failures when an anti-virus (Kaspersky) is in between.
From WireShark, I am able to notice the SSL handshake successful (i.e towards the end client sending “Client Key Exchange, Change Cipher Spec, Encrypted Handshake Message” and the server responding with “Change Cipher Spec, Encrypted Handshake Message”. After this the client initiates a FIN and closes the connection.
But when my anti-virus is turned off or if I disable the "Scan encrypted connections" setting in Kaspersky, I could see the client SSL connections are all successful and the client is able to send data.
I would appreciate if someone could explain this behavior and how I can bypass this without changing my customer's anti-virus settings.