Fix chmod for Java 7.
Fix HTTP parsing to properly handle pipelined requests that come in
one big chunk.