Refactor of Tap.
Moving functions.
Functions for content type strings.
Renamed test modules.
Connection test for /tap WebSockets. Refactoring.