Makes the event handler for onBeforeSendHeaders event blocking

closes #11

Signed-off-by: Mohamad Ahmadi <mohamadhasan.ahmadi@gmail.com>
Merge pull request #13 from mhahmadi/moe_request_blocking_onbeforsendheaders

Makes the event handler for onBeforeSendHeaders event blocking