Add real caps to ProtoCaps.

- Fix broken tests in Dispatcher.
- Fix broken tests in Bot.
Add a corehandler to parse 005.

- Add thread safety to Protocaps.
- Make a distinction between protecting servers.
- Fix a bug where the nick was not considered as an argument in parsing
  the protocaps.
Add direct-to-socket PONG handler bypass.

- Add code to make an exception for PONG messages so they are not
  throttled.
- Add test coverage for new case.
- Ensure the pumpservice channel is closed even if the socket was closed
  first and was not the result of a shutdown (should eliminate a race
  and deadlocks).