Add error codes for stream response to transport spec