removed _WIP_CHECK_PROTOCOL_VERSION_, cleaned pragma warnings