Simplify handler type

Work with []byte to make the code a little more concise.
Merge pull request #2 from strandmon/master

Simplify handler type