SSL added to client and improved.