added HTTP support

introduced threading and interactive console in the process.
minor refactoring in other places.
updated README.md accordingly
bumped version to 0.5