Moved serverstate to the connection level allowing for discovery of available features