Anonymous connections

Fixed anonymous connections by not setting the credentials in the headers of the request if not specified by the initiator.