socket: add support for tcp nagle

Add support for tcp no delay.