http client implementation by nio with request encoder and response
decoder.