While trying to establish a HTTPS connection, I get back an IOException:
SSL handshake aborted: ssl=0x519ea2d8: I/O error during system call, Connection rese
Connection reset by peer
This means that the server has closed the connection because it did not like what you have send to it. There are too few details to find out what really is going on but it might be the wrong protocol version, wrong ciphers etc in which case you might find more information on the server side. But it might also be a firewall in between cutting the connection because it violates the firewall policy. If you have another client which can successfully connect make a packet capture of both and compare.