Encrypting Socket data?

Anyone have any suggestions for encrypting / decrypting data as it’s sent to/from a server?