Handling Upgrade Request