Upon close, stop bothering if the file descriptor is invalid.
Make it possible for linebufferdecorator to not take ownership of the
connection, which is typically very helpful for the server.
Add a method to make the sockets non-blocking.