Changed default timeouts on proxy receive_data and control_request to 500ms, added timeout parameter where not present.