documentation, add buffer, require authentication, fix PING timer