drop Data::Printer
tests: failures in receive_frame

also, close socket when EOF or error detected, to guarantee reconnection
tests: parsing content-length