Catch up the Raw socket and Stream socket from Libzmq master branch.
Simplify Stream socket implementation.

from: https://github.com/zeromq/libzmq/pull/594
Another Stream simplification.

from: https://github.com/zeromq/libzmq/pull/595
change the test port from 8080 to 5557
Merge pull request #110 from somdoron/Stream

Catch up the Raw socket and Stream socket from Libzmq master branch.