Reorganize Network.Haskbot.Internal.Server to allow for testing