What's the max line length?

I'll take a look at the `setsockopt()` function and see if it can be used, this was mostly copied out of the libuv implementation which doesn't have that function.