Add ability to set Loop Type

- Allow user creating a ReconnectingWebSocket to set what kind of
  repeating loop they want to use