Used enums in send methods. Implemented sendRequest() and sendBlock().
Merge branch 'master' of https://github.com/jtakkala/tulva