Made server actually connect during PUT commands