grab body offset from buffer more efficiently.
Merge pull request #24 from tamagokun/cleanup_server

grab body offset from buffer more efficiently.