use createHttpClientCodec to use user defined parameters
fix compilation error
Merge pull request #257 from vtheron/ahc-1.7.x

use createHttpClientCodec to use user defined parameters