Initial implementation of SecureServer and SecureClient