use netty close listener
read type and ignore
return read len rather than len so user gets how many bytes are returned
format