Remove unused methods in srp.c
Add 'connected' state property

- Modify tests and implementation where appropriate to use at test new connected property instead of websocketReady
- Add category to NSObject's performSelector so that it can be tested synchronously
- Use sync performSelector NSObject category to test reconnect logic (no more pending tests)