Correctly apply send/receive buffer size from SocketSettings

See JAVA-1542