Added config key
Handle error for xhr
Send api version with xhr
Send api version with sockets
Merge pull request #49 from RWOverdijk/feature/versioning

Feature/versioning