Mark Request and Response with [Serializable] attribute

Includes tests.