Made corrections to packets handling of server

Signed-off-by: Cory Feitelson <cfeitelson@roovy.com>