server uses data output stream instead of buffered writer

builder converts response to bytes
spec helper with fn for converting byte arrays back into string easily