Fix the connection channel issue at proxy mode
Merge pull request #252 from suenway/master

Patch for inappropriate connection channel when working at proxy mode