* net: added a protocol_details getter (for access to the context and socket) and added get_current_cipher function to protocol_details