update amqp: add multiple channel, add waitForConfirms and waitForMessages
refactor websocket and add some test cases
add http version checking and test case for it
Merge pull request #65 from onlychoice/update_amqp

update amqp: add multiple channel, add waitForConfirms and waitForMessages
Merge pull request #66 from onlychoice/update_ws

refactor websocket and add some test cases