Added exceptions and doku to ClientSocket