Fixed channel cleanup.
Added argument validation.
Adapted HttpProxy to the updated service interface.