Fix HTTP server for DuplexStream using Buffer

Fix HTTP server regression in 0.1.5: https://forums.tessel.io/t/http-server-no-longer-working/294