Move pyserial and requests to optional dependencies.