Add response codes
Add input / output stream delegates