added host / port options, replaced HttpException with PusherException