added spies file to declare all spies used in the unit tests...not sure if a good idea, and added tests for the cookies service.
added unit tests for the socket service.
Merge pull request #15 from rdepena/socket_tests

Socket tests