support webProxy as optional parameter