fixes handleMessage to actually work with GETs