config http bindings using code