add keepalive and nodelay

Credit: Deniz Piri
https://github.com/luvit/luvit/pull/269
Merge pull request #471 from luvit/fixes/no_delay_keepalive

add keepalive and nodelay