Added more server message handling

Nearly done with that! Then can move onto actual connection stuff and
put out a working build.