Implement  on an http connection