Client constructor now throws an exception if socket creation fails
Added a testing server