Added Buffer copy constructor. Added HTTP error responses.