Add missing methods to CapedwarfSocket (was causing NullPointerException...

... for SSL connections)