Add another new constructor for Proxy type

This enables you to more customized proxy than host-based one.