Library that creates a TCP tunnel with optional authorization