Backport commit from Go 1.3: net/rpc: do not leak client socket on closed connection.
Add LICENSE file.
Add graceful stop ability to ServeConn and ServeCodec methods.