The problem with them appearing behind you is not the projectile speed, it's simple the time it takes for the packet containing the info about the new projectile to go all the way from the server to your computer, after it has already taken time for the packet containing info that you clicked to reach the server.
Same for the raycasting weapons, by the time the packet with the information that you clicked has reached the server the person might already be at a different position.