Fixed request bytes
Merge pull request #11 from palarson/jb

Library modifications