Reformated code of base-connection-internal.h and fixed bug with protocolName()