Merge pull request #24 from donpillou/httpOrigin

Support for http origin header field
Avoid most in-code #ifdefs
Working example build instructions
Add send/receive error handling
Merge pull request #25 from donpillou/errorHandling

send/recv error handling, avoid in-code #ifdefs, update README with build instructions